package com.yq.cp.entity.common;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class PageVo {
    private Long id;
    private Integer page=1;
    private Integer size=10;
    private String like;
    private String name;
    private Integer type;
    /**公司id*/
    private Long companyId;
    private Long createUserId;
    private Long userId;
    private Integer state;
    private Integer examine;
    private Long pId;
    private Long parentId;
    private String username;
    private String phone;
    private String folderName;
    private Integer year;
    private Integer month;
    private Long siteId;
    private Long channelId;
    private String channelName;
    private Long regionId;
    private String regionName;
    private Long one;
    private Long two;
    /**
     * 部门id
     */
    private Long departmentId;
    /**
     * 职位id
     */
    private Long positionId;
    private Long energyId;
    /**
     * 开始时间
     * */
    @JSONField(format ="yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date beginTime;
    /**
     * 结束时间
     * */
    @JSONField(format ="yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date overTime;

    private Integer headOrOrdinary;
}
